/*
 * @Description: 
 * @Author: 赵大壮
 * @Date: 2021-12-06 17:18:37
 * @LastEditTime: 2021-12-06 17:36:29
 * @LastEditors: 赵大壮
 */
import { Component, Vue, Inject } from "vue-property-decorator";
import DZServiceExport from "../../service/DZServiceExport";

@Component({
    components: {}
})
export default class Index extends Vue {

    s_export = new DZServiceExport();

    created() {
        this.action_list_export_dic();
        this.action_list_subscribe();
    }

    mounted() {

    }

    beforeDestroy() {

    }

    action_list_export_dic() {
        this.s_export.net_list_export_dic();
    }

    action_list_subscribe() {
        this.s_export.net_list_subscribe();
    }

    action_page_change(current) {
        this.s_export.m_page.page = current;
        this.action_list_subscribe();
    }

    action_export(isAll) {
        if (isAll) {
            this.s_export.net_export_all();
        } else {
            this.s_export.net_export_page();
        }
    }
}